package cn.bocweb.spinning.model.Bean;

import java.util.List;

/**
 * Created by chenchangxing on 16/1/13.
 */
public class GetIhomeBean {


    /**
     * msg : 首页资讯获取成功
     * return_code : 0
     * data : [{"id":"23","title":"大图视频","content":"<p>大图视频大图视频大图视频大图视频大图视频大图视频大图视频大图视频大图视频大图视频大图视频大图视频大图视频大图视频大图视频<\/p>","ys":"5","timeline":"1453096743","img":["http://121.41.128.239:8131/fzapp/upload/2016/01/18/1453096799380688olu.jpg"]},{"id":"20","title":"无图","content":"<p>无图<\/p><p>无图<\/p><p>无图<\/p><p>无图<br/><\/p>","ys":"2","timeline":"1453096376","img":[""]},{"id":"21","title":"多图","content":"<p>多图<\/p><p>多图<\/p><p>多图<br/><\/p>","ys":"3","timeline":"1453096403","img":["http://121.41.128.239:8131/fzapp/upload/2016/01/06/14520483597594aqocb.jpg","http://121.41.128.239:8131/fzapp/upload/2016/01/06/14520483597594aqocb.jpg","http://121.41.128.239:8131/fzapp/upload/2016/01/06/14520483597594aqocb.jpg"]},{"id":"22","title":"小图视频","content":"<p>小图视频小图视频小图视频小图视频小图视频<br/><\/p>","ys":"4","timeline":"1453096694","img":["http://121.41.128.239:8131/fzapp/upload/2016/01/18/145309671692893v9rs.jpg"]},{"id":"19","title":"小图","content":"<p>小图<\/p><p>小图<\/p><p>小图<\/p><p>小图<\/p><p>小图<br/><\/p>","ys":"1","timeline":"1453096305","img":["http://121.41.128.239:8131/fzapp/upload/2016/01/18/14530963413604q0042.png"]}]
     */

    private String msg;
    private int return_code;
    /**
     * id : 23
     * title : 大图视频
     * content : <p>大图视频大图视频大图视频大图视频大图视频大图视频大图视频大图视频大图视频大图视频大图视频大图视频大图视频大图视频大图视频</p>
     * ys : 5
     * timeline : 1453096743
     * img : ["http://121.41.128.239:8131/fzapp/upload/2016/01/18/1453096799380688olu.jpg"]
     */

    private List<DataEntity> data;

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setReturn_code(int return_code) {
        this.return_code = return_code;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public int getReturn_code() {
        return return_code;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public static class DataEntity {
        private String id;
        private String title;
        private String content;
        private String ys;
        private String timeline;
        private List<String> img;

        public void setId(String id) {
            this.id = id;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public void setYs(String ys) {
            this.ys = ys;
        }

        public void setTimeline(String timeline) {
            this.timeline = timeline;
        }

        public void setImg(List<String> img) {
            this.img = img;
        }

        public String getId() {
            return id;
        }

        public String getTitle() {
            return title;
        }

        public String getContent() {
            return content;
        }

        public String getYs() {
            return ys;
        }

        public String getTimeline() {
            return timeline;
        }

        public List<String> getImg() {
            return img;
        }
    }
}
